<html><head><title>SoundPan</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SoundPan()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>SoundPan</b></font>(#Sound, Pan [, Channel])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Sets the new pan value, in real-time, for the #Sound. The pan value is saved for the #Sound, so it's not 
needed to call it every time. The panning is a way to play a sound on a stereo equipment. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Sound</i></td>
<td width="90%"> 
The sound to use. 

</td></tr>
<tr><td><i>Pan</i></td>
<td> 
The new pan value. Valid values are from -100 (full left) to 100 (full right). 
If the pan value is zero, then the sound is played on right and left speaker, equally. 

</td></tr>
<tr><td><i>Channel (optional)</i></td>
<td> 
The channel to use. It's the value returned by <a href="playsound.html">PlaySound()</a> when using the 
<font color="#924B72">#PB_Sound_MultiChannel</font> flag. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</Blockquote><p><b>Supported OS </b><Blockquote>Windows, MacOS X</Blockquote></p><center><- <a href=soundlength.html>SoundLength()</a> - <a href=index.html>Sound Index</a> - <a href=soundstatus.html>SoundStatus()</a> ->

</body></html>